package com.smart.car.message.service;

import com.smart.car.message.entity.MessageInfo;

import java.util.List;

public interface MessageInfoService {

	int sendNotice(String json);

	List<MessageInfo> list();

	/**
	 * 发送短信验证码的接口
	 * by 腾讯云
	 * @param phoneNum 手机号
	 * @param code     验证码
	 * @param eTime    有效期
	 */
	boolean sendSmsByTx(String phoneNum, String code, Long eTime) throws Exception;

}
